﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SingleUserMall.Authorization.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Users.VO
{
    [AutoMapFrom(typeof(User))]
    public class UserVO : EntityDto<long>
    {
        /// <summary>
        /// 电话号码
        /// </summary>
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsActive { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// openId
        /// </summary>
        public string OpenId { get; set; }
        /// <summary>
        /// 性别（0-未知，1-男，2-女）
        /// </summary>
        public Gender Gender { get; set; }
        /// <summary>
        /// 个人佣金
        /// </summary>
        public decimal Commision { get; set; }
        /// <summary>
        /// 是否是会员
        /// </summary>
        public bool IsVip { get; set; }
        /// <summary>
        /// 会员等级
        /// </summary>
        public int VipLevel { get; set; }
        /// <summary>
        /// 是否推广大使
        /// </summary>
        public bool IsPromotion { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 亲情号角色
        /// </summary>
        public string PartnerRole { get; set; }
        /// <summary>
        /// 个人红包金额
        /// </summary>
        public decimal UserRedPacket { get; set; }
        /// <summary>
        /// 用户钱包金额
        /// </summary>
        public decimal UserWallet { get; set; }
        /// <summary>
        /// 代理等级
        /// </summary>
        public int AgencyLevel { get; set; }
        /// <summary>
        /// 个人体验金
        /// </summary>
        public decimal Points { get; set; }
        /// <summary>
        /// 个人已释放体验金
        /// </summary>
        public decimal CanUsePoints { get; set; }
    }
}
